<?php
/**
 * Created by PhpStorm.
 * User: kx520
 * Date: 2020-07-06
 * Time: 15:59
 */

namespace app\api\validate;



class IDMustBePostiveInt extends BaseValidate
{
   protected $rule=[
       'id'=>'require|isPositiveInteger',
       'num'=>'in:1,2,3'
   ];
   protected $message=[
       'id'=>'必须是证整数',
   ];

}